-
Home
-
WP Discourse
-
2.2.1
-
Code
-
Classes
- DiscoursePublish
Total Complexity |
103 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
653 |
Lines of code |
401 |
Logical lines of code |
224 |
Comment lines |
169 |
Methods |
16 |
Properties |
2 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
sync_to_discourse_work() |
D |
20 |
48 |
205 |
publish_post_after_save() |
B |
43 |
21 |
38 |
xmlrpc_publish_post_to_discourse() |
S |
54 |
7 |
19 |
dc_add_post_meta() |
S |
53 |
5 |
23 |
tags_param() |
S |
60 |
4 |
13 |
dc_get_post_meta() |
S |
59 |
3 |
14 |
pin_discourse_topic() |
S |
52 |
2 |
23 |
get_allowed_post_types() |
S |
67 |
3 |
8 |
sync_to_discourse() |
S |
66 |
2 |
8 |
save_topic_blog_id() |
S |
60 |
1 |
15 |
topic_blog_id_exists() |
S |
67 |
2 |
7 |
create_bad_response_notifications() |
S |
64 |
1 |
11 |
__construct() |
S |
69 |
1 |
6 |
setup_options() |
S |
80 |
1 |
3 |
is_valid_sync_post_type() |
S |
72 |
1 |
5 |
sanitize_title() |
S |
80 |
1 |
3 |